<?php
include_once("player_repository.php");
$repPlayer= new PlayerRepository;
$fname=$_POST['fname'];
$sname=$_POST['sname'];
$email=$_POST['email'];

	$repPlayer->createPlayer($fname,$sname,$email);
	header('LOCATION:'.$_SERVER["HTTP_REFERER"]);

?>